# -*- coding: utf-8 -*-
# @Time    : 2022/1/1 13:29
# @Author  : TangDagui
# @Email   : 3297364807@qq.com
# @File    : ThreeTask.py
# @Software: PyCharm
# 判断一个素是否为素数

def isPrime(number):
    if number < 2:  # 不是素数
        return False
    for i in range(2, number):
        if number % i == 0:
            return False
    return True
    pass


if __name__ == '__main__':
    print(isPrime(3))
